import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import CaptchaItemResponse from '@/core/captcha/generated/types/model/response/CaptchaItemResponse'
import captchaAdminApiConfig from '@/core/captcha/generated/apiconfig/captchaAdminApiConfig'

const moduleApiConfig = captchaAdminApiConfig.captchaItem

class CaptchaItemAdminServerApi extends BaseAdminServerApi<string, CaptchaItemResponse> {}

const adminServerApi = new CaptchaItemAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
